package com.chanyachting.emall.service;

import java.util.List;

import com.chanyachting.emall.domain.Sellyacht;




//公司对象操作接口 
public interface SellyachtService {
	
	public static final String COMPANY_IN_SESSION="COMPANY_IN_SESSION";

	//取得所有上架的销售商品
	public List<Sellyacht> QueryAllSellyachtByChannelId(int currentPage,int pageSize,String channelId);
	
	//取得所有上架的销售商品数量
	public int QueryAllSellyachtCountByChannelId(String channelId);
	
	//取得所有上架的以productCategoryId指定的销售商品
	public List<Sellyacht> QueryAppointSellYacht(int currentPage,int pageSize,String productCategoryId) ;
	
	//取得所有上架的以productCategoryId指定的销售商品数量
	public int QueryAppointSellYachtCount(String status,String productCategoryId);
	
	//取得指定的销售商品
	public Sellyacht QueryOneSellyacht(String productId);
	
	//取得指定公司的所有上架商品
	public List<Sellyacht> QuerySellyachtByCompanyId(String companyId);
	
	public List<Sellyacht> getSellyachtListByPage(int currentPage,int pageSize,String companyId);
	
	public int getSellyachtCount(String companyId);
}
